import http from './http'

// 获取菜单
let getMenu = ()=>{
    return http.request({
        url:'/menu',
        method:'get'
    })
}

let postData = (data:any)=>{
    return http.request({
        url:'/menu',
        method:'post',
        data
    })
}


export default{
    getMenu,
    postData
}

